package com.admin.service;

import com.admin.pojo.UserInfo;
import com.admin.util.R;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2025-06-03 04:58:32
 */
public interface UserInfoService extends IService<UserInfo> {


    public R register(UserInfo userInfo);

    public R sendCode(String email, HttpServletRequest request);

    public R loginCode(String email, String code, HttpServletRequest request);
}
